#!/bin/bash

POWER_STATUS=`cat .power_status`

if [ $POWER_STATUS -eq 0 ]; then
    echo "********************************************************************************"
    echo "(RED)> Camera has already been powered down, you can safely power up the camera "
    echo "********************************************************************************"
elif [ $POWER_STATUS -eq 1 ]; then
    echo "********************************************************************************"
    echo "(RED)> Camera has already been powered up, you can safely power down the camera"
    echo "********************************************************************************"
fi
